A New SAT Encoding of the At-Most-One Constraint

نویسنده

  • Jingchao Chen
چکیده

In this paper, we study how to encode the at-most-one (AMO) constraint in conjunctive normal form (CNF). The AMO constraint means that at most one out of n propositional variables is allowed to be true. We present a new AMO encoding that improves on the existing one. The logarithmic bitwise AMO encoding by Frisch et al. requires log n auxiliary variables and n log n clauses. Sinz’s sequential AMO encoding requires n − 1 auxiliary variables and 3n − 4 clauses. Our recursive 2product AMO encoding requires 2 √ n + O( 4 √ n) auxiliary variables and 2n + 4 √ n + O( 4 √ n) clauses, which is fewer than the known best one. In terms of total number of literals appearing in the clauses, our encoding is the best, since it requires 4n + 8 √ n + O( 4 √ n) literals, while Sinz’s encoding and the logarithmic bitwise AMO encoding do 6n−8 and 2n log n literals, respectively.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Efficient Encoding of the at-most-one Constraint

One of the most widely used constraint during the process of translating a practical problem into an equivalent SAT instance is the at-most-one (AMO) constraint. Besides a brief survey of well-known AMO encodings, we will point out the relationship among several AMO encodings the relaxed ladder, sequential, regular and ladder encodings. Therefore, it could help SAT community, especially researc...

متن کامل

A Compact and Efficient SAT-Encoding of Finite Domain CSP

Extended Abstract A (finite) Constraint Satisfaction Problem (CSP) is a combinatorial problem to find an assignment which satisfies all given constraints over finite domains. A SAT-based CSP solver is a program which solves a CSP by encoding it to SAT and searching solutions by SAT solvers. Remarkable improvements in the efficiency of SAT solvers make SAT-based CSP solvers applicable for solvin...

متن کامل

Efficient SAT-Encoding of Linear CSP Constraints

Propositional satisfiability solving (SAT) has been considerably successful in numerous industrial applications. Whereas the speed and the capacity of SAT solvers significantly improved in the last two decades, the understanding of SAT encodings is still limited and often challenging. Two wellknown variable encodings, namely the order encoding and the sparse encoding, are the most widely used a...

متن کامل

Encoding Linear Constraints into SAT

Linear integer constraints are one of the most important constraints in combinatorial problems since they are commonly found in many practical applications. Typically, encoding linear constraints to SAT performs poorly in problems with these constraints in comparison to constraint programming (CP) or mixed integer programming (MIP) solvers. But some problems contain a mix of combinatoric constr...

متن کامل

Sequential Encodings from Max-CSP into Partial Max-SAT

We define new encodings from Max-CSP into Partial MaxSAT which are obtained by modelling the at-most-one condition with the sequential SAT encoding of the cardinality constraint ≤ 1(x1, . . . , xn). They have fewer clauses than the existing encodings, and the experimental results indicate that they have a better performance profile.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010